// pages/photo-grid/photo-grid.js
Page({
    data: {
      leftBoxes: [
        { image: '', url: '/pages/upload/upload?id=1' },
        { image: '', url: '/pages/upload/upload?id=2' },
        { image: '', url: '/pages/upload/upload?id=3' },
        { image: '', url: '/pages/upload/upload?id=4' }
      ],
      rightBoxes: [
        { image: '', url: '/pages/upload/upload?id=5' },
        { image: '', url: '/pages/upload/upload?id=6' },
        { image: '', url: '/pages/upload/upload?id=7' },
        { image: '', url: '/pages/upload/upload?id=8' }
      ]
    },
  
    onLoad: function(options) {
      // 可以在这里加载已上传的照片
      // 例如从缓存或服务器获取
    }
  });